C# domain name to ip address

91

C# domain name to ip address -

using System.Net;

foreach (IPAddress address in Dns.GetHostAddresses("www.google.com"))
{
   Console.WriteLine(address.ToString());
}

Comments

Submit
0 Comments